package com.tianshi.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Users implements Serializable { //可序列化
    private Long userId; //用户id
    private String username; //用户名
    private String password; //密码
    private String email; //邮箱
    private String phone; //手机号码
    private Short userType; //用户类型 0：普通用户 1：管理员
    private LocalDateTime createdAt; //创建时间
}
